package com.pshcp.domain.model;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 患者预约操作记录表
 * </p>
 *
 * @author auto generator
 * @since 2022-11-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Table(name = "t_patient_reserve_operate_record")
public class PatientReserveOperateRecord implements Serializable {

    private static final long serialVersionUID=1L;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    private Long patientReserveRecordId;

    /**
     * 类型 0申请1确认2通知
     */
    private Integer type;

    /**
     * 当前步骤
     */
    private Integer currentProcedure;

    /**
     * 总共步骤
     */
    private Integer totalProcedure;

    /**
     * 用户类型 0医生1患者2科秘(医生)
     */
    private Integer userType;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 状态 0待处理 1处理完成
     */
    private Integer bizStatus;

    /**
     * 状态 0正常 1删除
     */
    private Integer status;

    /**
     * 创建时间
     */
    private Date createdTime;

    /**
     * 更新时间
     */
    private Date updateTime;


}
